package com.dgut.epidemic.service;

import com.dgut.epidemic.pojo.Daily_data;
import com.dgut.epidemic.pojo.abnormalData;
import com.github.pagehelper.PageInfo;

import java.io.IOException;
import java.util.List;

public interface AdminDataService {
    PageInfo<Daily_data> sortData(int pageNum, int pageSize, String sort,String starTime,String endTime
            ,String body,String istreatment,String isolated,String inschool,String inguan,String keyword);
    PageInfo<Daily_data> selectData(int pageNum, int pageSize);
    List<Daily_data> riskAreaData(String starTime,String endTime) throws IOException;
    List<String> heightRiskArea() throws IOException;
    List<String> middleRiskArea() throws IOException;
    List<Daily_data> selectTemperature(String starTime,String endTime);
    List<Daily_data> excelSelect(String sort,String starTime,String endTime,String body
            ,String istreatment,String isolated,String inschool,String inguan,String keyword);
    List<abnormalData> selectAbnormal();
}
